home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen… 1994 February Supplement / ARPL-Feb-94-Supplement-PowerPC.iso / 3rd Party PowerPC Demo Apps / Diehl Graphsoft MiniCad-E / MiniCad 5 Demo (Click Me!) / MiniCad 5 Demo (Click Me!).rsrc / STR#_7008.txt < prev    next >
Encoding:
Text File  |  1994-01-18  |  1.3 KB  |  49 lines

  1. Open(FileName : TEXT);
  2.  
  3. Opens a file for reading.
  4.  
  5. GetFile(VAR FileName : TEXT);
  6.  
  7. Displays the standard Macintosh file dialog which requests the user to select a text file.
  8.  
  9. Read(VAR V1, V2, ..., Vn : INTEGER or REAL or LONGINT or CHAR or STRING);
  10.  
  11. Reads data from the currently open text file.
  12.  
  13. ReadLn(VAR V1, V2, ..., Vn : INTEGER or REAL or LONGINT or CHAR or STRING);
  14.  
  15. Reads data from the currently open text file and skips to the beginning of the next line of data.
  16.  
  17. EOF(Filename : TEXT) : BOOLEAN;
  18.  
  19. Returns TRUE if the reading pointer of an open file has reached the end of the file.
  20.  
  21. EOLN(FileName : TEXT) : BOOLEAN;
  22.  
  23. Returns TRUE if the reading pointer of an open file has reached a carriage return.
  24.  
  25. Rewrite(FileName : TEXT);
  26.  
  27. Creates a new file or clears an existing one for writing.
  28.  
  29. PutFile(CommentStr, FileDefault : STRING;  VAR FileName : TEXT);
  30.  
  31. Displays the standard Macintosh file dialog which requests the user to select a text file for output.
  32.  
  33. Append(FileName : TEXT);
  34.  
  35. Allows the user to add text information to the end of a text file.
  36.  
  37. Close(FileName : TEXT);
  38.  
  39. Closes a currently open text file.
  40.  
  41. Write(V1, V2, ..., Vn: INTEGER or REAL or LONGINT or CHAR or STRING);
  42.  
  43. Writes data to a text file.
  44.  
  45. WriteLn(V1,V2,...,Vn: INTEGER or REAL or LONGINT or CHAR or STRING);
  46.  
  47. Writes data to a text file followed by a carriage return.
  48.  
  49.